home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Daddy Day Care Press Kit
/
Daddy Day Care Press Kit.iso
/
pc
/
acrobat reader 5 pc
/
plug_ins
/
escript.api
/
EXVW
/
6100
< prev
next >
Wrap
Text File
|
2002-12-13
|
1KB
|
36 lines
gMaxWidth = max(
zstring_width(zstring: '$$$IDS_OK_STR'),
zstring_width(zstring: '$$$IDS_CANCEL_STR'),
zstring_width(zstring: '$$$IDS_CLOSE_STR'),
zstring_width(zstring: '$$$IDS_CLEAR_STR'));
gMyStaticWidth = max(
zstring_width(zstring: '$$$/Dialogs/EditJavaScript/What'),
zstring_width(zstring: '$$$IDS_JSCONSOLE_DESC1'));
dialog(name: '$$$/Dialogs/EditJavaScript', target_id: 'text')
{
view(align_children: align_left)
{
static_text(item_id: 'dsc1', name: '$$$/Dialogs/EditJavaScript/What', width: gMyStaticWidth);
edit_text(item_id: 'text', alignment: align_fill, height: gEditTextHeight * 16, multiline: true, font_id: 9);
view(alignment: align_fill, align_children: align_row)
{
static_text(item_id: 'dsc2', width: max_char_width() * 16, height: gEditTextHeight, alignment: align_fill);
static_text(item_id: 'stat', width: max_char_width() * 8, height: gEditTextHeight, alignment: align_right);
}
view(alignment: align_fill, align_children: align_right)
{
view(align_children: align_row)
{
button(item_id: 'goto', width: zstring_width(zstring: '$$$IDS_GOTO_STR') + 2, name: '$$$IDS_GOTO_STR');
gap();
button(item_id: 'btn1', width: gMaxWidth + 2, name: '$$$IDS_OK_STR');
button(item_id: 'btn2', width: gMaxWidth + 2, name: '$$$IDS_CANCEL_STR');
gap();
}
}
}
}